package com.groupware.gw.dao;

import java.util.List;


import com.groupware.gw.model.GWModel;
import com.groupware.member.model.MemberModel;

public interface GWDao {
	// JMBOARD_GW 테이블에서 문서 수 불러오기
	int getGWTotalNum(String userId);
	
	// JMBOARD_GW 테이블에서 결제 문서 가져오기
	List<GWModel> getGWList(String userId);
	
	GWModel getOneGWArticle(int document_no);
	
	List<MemberModel> getUserName(String userId);
	
	boolean writeGWArticle(GWModel gwModel);

	MemberModel getOneUserName(String userId);

	int updateApprove(int document_no, String approveDate, int step);

	public int deleteArticle(int document_no);

	List<GWModel> getGWApproveList(String userId);

	boolean modifyGWArticle(GWModel gwModel);
}
